#pragma once

#include <QtWidgets/QWidget>
#include "ui_TestkeyPressEvent.h"
#include <windows.h>
class TestkeyPressEvent : public QWidget
{
    Q_OBJECT

public:
    TestkeyPressEvent(QWidget *parent = nullptr);
    ~TestkeyPressEvent();
    void mouseMoveEvent(QMouseEvent* event);

private:
    Ui::TestkeyPressEventClass ui;

protected:

    void keyPressEvent(QKeyEvent* event) override;
    bool nativeEvent(const QByteArray& eventType, void* message, long* result) override;

};
